//立即预约的所有后台请求接口
import {request} from '@/utils/request.js'

export function list () {
	return request({
		url:'/api/evaluation/list',
		method:'GET'
	})
}

export function save (data) {
	return request({
		url:'/api/evaluation/save',
		method:'POST',
		data
	})
}

export function update (data) {
	return request({
		url:'/api/user/update',
		method:'PUT',
		data
	})
}

export function remove (id) {
	return request({
		url:`/api/evaluation/delete/${id}`,
		method:'DELETE'
	})
}

export function getUserInfos (phone) {
	return request({
		url:`/api/login/info/${phone}`,
		method:'GET'
	})
}